package com.cxria.springboottest.enums;

enum StatusCodeEnum {

	NORMAL("0000"),
	USER_NOT_LOGIN("1001"),
	USER_ROLE_ERROR("1002"),
	USER_AUTHORITY_ERROR("1003"),
	USER_INCORRECT_CREDENTIALS_ERROR("1004"),
	MAIL_PROTOCOL_ERROR("2001"),
	MAIL_PASSWORD_ERROR("2002"),
	DATA_ALREADY_EXISTS_ERROR("3001"),
	XLS_DATA_ERROR("4001"),
	NOT_IS_XLS_FILE_ERROR("4002"),
	DATA_SAVE_ERROR("5001"),
	DATA_VIOLATION_ERROR("5002"),
	MSG_FEEDBACK_ERROR("6001"),
	NOT_FIND_PHONE_OR_BESPEAK_TIME("7001"),
	SMS_SEND_ERROR("8001"),
	UNKNOWN_ERROR("9999");

	private String str;

	private StatusCodeEnum(String str) {
		this.str = str;
	}

	@Override
	String toString() {
		return this.str;
	}

}
